﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AjaxGridView.aspx.cs" Inherits="AjaxGridView" %>

<%@ Register Assembly="Jec.WebControls" Namespace="Jec.CustomControls" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="style_house.css" rel="stylesheet" type="text/css" />

    <script>
    var preDiv='';
function ch1(div)

{
  var pre=document.getElementById(preDiv);
  if(pre&&pre!=obj) pre.style.display='none';
   var obj=document.getElementById(div);
	if(obj.style.display=="none" )
	{

          obj.style.display="";
          preDiv=div;
   }
   }
    </script>

    <style type="text/css">
body
{
    margin-top:0px;
	font-size:12px;
	
}
 a:hover
{
    background-color:#20B2AA;
    text-decoration : none;
}
 a:link
{
	color:#000000;
	 text-decoration : underline;
}
 a:visited
{
	color:#000000;
	 text-decoration : underline;
}
 a:active
{
	color:#000000;
	 text-decoration : underline;
}
.cssClassMouseOut
{
    color:#0000ff;
}
.table1 {
        width: 200px;
        margin: 10px;
        border-style: solid;
        border-color: #656556;
        border-size: 1px;
        border-width: 1px;
}

</style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetCustomList"
                SelectCountMethod="GetPageCount" StartRowIndexParameterName="startRowIndex" MaximumRowsParameterName="maximumRows"
                EnablePaging="true" TypeName="Leador.Bussiniess.DataAccess"></asp:ObjectDataSource>
            <cc1:AjaxGridView ID="AjaxGridView1" AutoGenerateColumns="False" runat="server" BorderWidth="0"
                DataSourceID="ObjectDataSource1">
                <Columns>
                    <asp:TemplateField> 
                        
                        <headerTemplate>
                       
                        </headerTemplate>
                        <itemtemplate>
                           ffffff itemTemplate<%#Eval("RowNumber") %>
                        </itemtemplate>
                        <footerTemplate>
                        
                        </footerTemplate>
                    </asp:TemplateField>
                </Columns>
                <EmptyDataTemplate>
                nodata
                </EmptyDataTemplate>
            </cc1:AjaxGridView>
         
        </div>
    </form>
</body>
</html>
